#define _CRT_SECURE_NO_WARNINGS 1

#include"ST.h"


void Test()
{
	ST st;
	STInit(&st);
	STPush(&st, 1);
	STPush(&st, 2);
	STPush(&st, 3);
	STPush(&st, 4);
	while (!(STEmpty(&st)))
	{
		printf("%d ", STTop(&st));
		STPop(&st);
	}
	printf("\n");
	STDestroy(&st);
}

int main()
{
	//Test();
	//Test2();
	//char* s = { "((()))" };
	char* s = { "(){}[]" };
	bool ret = isValid(s);
	printf("%d\n", ret);

	return 0;
}